package com.infore.siteManagement.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;


/**
 * The persistent class for the PROJRCT_AND_STATION database table.
 * 
 */
@Entity
@Table(name="PROJECT_AND_STATION")
@NamedQuery(name="ProjectAndStation.findAll", query="SELECT p FROM ProjectAndStation p")
public class ProjectAndStation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	@Column(name="PROJECT_CODE")
	private String projectCode;

	@Column(name="STATION_CODE")
	private String stationCode;

	public ProjectAndStation() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public String getStationCode() {
		return stationCode;
	}

	public void setStationCode(String stationCode) {
		this.stationCode = stationCode;
	}

}